import request from '@/utils/request'

export function getTodayTip() {
    return request({
        url: '/tip/today',
        method: 'GET'
    })
}

export function get_allTip() {
    return request({
        url: '/tip/get_tip',
        method: 'GET'
    })
}

export function deleteTip(id) {
    return request({
      url: `/tip/delete/${id}`,
      method: 'DELETE'
    })
  }